package com.tm.mapper;

import com.tm.crud.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    @Select("select * from user where name=#{name} and password=#{password}")
    User getUserByNameAndPassword(@Param("name") String name, @Param("password") String password);
}
